func path/filepath.volumeNameLen
9 uses
path/filepath (current package)
match.go#L310: vollen := volumeNameLen(path)
path.go#L100: volLen := volumeNameLen(path)
path.go#L328: } else if base == "" && volumeNameLen(baseVol) > 2 /* isUNC */ {
path.go#L666: return FromSlash(path[:volumeNameLen(path)])
path_unix.go#L22: func volumeNameLen(path string) int {
symlink.go#L16: volLen := volumeNameLen(path)
symlink.go#L37: isWindowsDot := runtime.GOOS == "windows" && path[volumeNameLen(path):] == "."
symlink.go#L76: if len(dest) > volumeNameLen(dest) && !os.IsPathSeparator(dest[len(dest)-1]) {
symlink.go#L116: v := volumeNameLen(link)
The pages are generated with Golds v0.6.7. (GOOS=linux GOARCH=amd64) Golds is a Go 101 project developed by Tapir Liu. PR and bug reports are welcome and can be submitted to the issue list. Please follow @Go100and1 (reachable from the left QR code) to get the latest news of Golds. |